package dancetwotiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceHornReissueConfigLog 喇叭补发
type DanceHornReissueConfigLog struct {
	Id        int64          `json:"id" gorm:"primaryKey;autoIncrement;comment:id"`
	UserId    string         `json:"userId" gorm:"column:user_id;type:varchar(256);not null;default:'';comment:用户id"`
	ReUserId  string         `json:"reUserId" gorm:"column:re_user_id;type:varchar(256);not null;default:'';comment:补发人id"`
	UserName  string         `json:"userName" gorm:"column:user_name;type:varchar(256);not null;default:'';comment: 用户名字"`
	No        string         `json:"no" gorm:"column:no;type:varchar(256);not null;default:'';comment: 散件编号"`
	Name      string         `json:"name" gorm:"column:name;type:varchar(256);not null;default:'';comment: 名称"`
	Number    int64          `json:"number" gorm:"column:number;type:bigint;default:0;not null;comment:补发数量"`
	Type      int64          `json:"type" gorm:"column:type;type:bigint;default:0;not null;comment:类型"` //1:喇叭   2：双人动作卡
	Remark    string         `json:"remark" gorm:"column:remark;type:varchar(256);not null;default:'';comment: 备注"`
	Reviewer  string         `json:"reviewer" gorm:"column:reviewer;type:varchar(256);not null;default:'';comment:审核人"` // 审核人
	TaskId    int64          `json:"taskId" gorm:"column:taskId;type:bigint;default:0;not null;comment:任务id"`
	Status    int            `json:"status" gorm:"column:status;type:int;default:0;not null;comment:补发状态"`
	CreatedId int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"` // 更新人id
	CreatedAt time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
